#ifndef PARTNER_H
#define PARTNER_H

#include <QLabel>

class Partner : public QLabel
{
    Q_OBJECT
public:
    Partner(QWidget * parent = nullptr, quint32 = 0);

    void setPic(QImage img);

signals:
    void sendIp(quint32);


private:
    quint32 m_ip;
    int     m_width;

    void mousePressEvent(QMouseEvent *ev) override;
};

#endif // PARTNER_H
